This function returns via the provided callback.  In the normal case, the first
argument will be the total number of objects that match the predicate.

If the operation encounters any error, the error argument will be provided and
will specify the error, in which case the first argument is undefined.
